package com.sgcc.pda.sdk.entity.table;

import com.sgcc.pda.sdk.entity.BaseEntity;

import java.io.Serializable;
import java.util.List;

/**
 * 掌机使用用户.
 *
 * @author 王沛栋
 * @data 2018/3/21 16:00
 */

public class UserInfo extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 8614957012179376765L;
    private List<User> USERS;
    private List<UserBusiCodesBean> userBusiCodes;

    public static class User implements Serializable {
        private String USER_CODE;
        private String USER_NAME;
        private String USER_PINYIN;
        private String USER_NAME_SORT;//姓名缩写

        private String DEPT_NAME;//":"营销部",
        private String ORG_NAME;//":"国网郑州供电公司",
        private String OTH_ACCT_ID;//":"46283",
        private String ORG_NO;//":"41401",
        private String OTH_ACCT_NAME;//":"帖蕾",
        private String USER_ID;//":"904",
        private String OTH_ACCT_NO;//":"EOM_TIELEI",
        private String DEPT_NO;//":"0000005919",
        private String USER_FROM;//":"03"

        public String getUSER_NAME_SORT() {
            return USER_NAME_SORT;
        }

        public void setUSER_NAME_SORT(String USER_NAME_SORT) {
            this.USER_NAME_SORT = USER_NAME_SORT;
        }

        public String getUSER_CODE() {
            return USER_CODE;
        }

        public void setUSER_CODE(String USER_CODE) {
            this.USER_CODE = USER_CODE;
        }

        public String getUSER_NAME() {
            return USER_NAME;
        }

        public void setUSER_NAME(String USER_NAME) {
            this.USER_NAME = USER_NAME;
        }

        public String getUSER_PINYIN() {
            return USER_PINYIN;
        }

        public void setUSER_PINYIN(String USER_PINYIN) {
            this.USER_PINYIN = USER_PINYIN;
        }

        public String getDEPT_NAME() {
            return DEPT_NAME;
        }

        public void setDEPT_NAME(String DEPT_NAME) {
            this.DEPT_NAME = DEPT_NAME;
        }

        public String getORG_NAME() {
            return ORG_NAME;
        }

        public void setORG_NAME(String ORG_NAME) {
            this.ORG_NAME = ORG_NAME;
        }

        public String getOTH_ACCT_ID() {
            return OTH_ACCT_ID;
        }

        public void setOTH_ACCT_ID(String OTH_ACCT_ID) {
            this.OTH_ACCT_ID = OTH_ACCT_ID;
        }

        public String getORG_NO() {
            return ORG_NO;
        }

        public void setORG_NO(String ORG_NO) {
            this.ORG_NO = ORG_NO;
        }

        public String getOTH_ACCT_NAME() {
            return OTH_ACCT_NAME;
        }

        public void setOTH_ACCT_NAME(String OTH_ACCT_NAME) {
            this.OTH_ACCT_NAME = OTH_ACCT_NAME;
        }

        public String getUSER_ID() {
            return USER_ID;
        }

        public void setUSER_ID(String USER_ID) {
            this.USER_ID = USER_ID;
        }

        public String getOTH_ACCT_NO() {
            return OTH_ACCT_NO;
        }

        public void setOTH_ACCT_NO(String OTH_ACCT_NO) {
            this.OTH_ACCT_NO = OTH_ACCT_NO;
        }

        public String getDEPT_NO() {
            return DEPT_NO;
        }

        public void setDEPT_NO(String DEPT_NO) {
            this.DEPT_NO = DEPT_NO;
        }

        public String getUSER_FROM() {
            return USER_FROM;
        }

        public void setUSER_FROM(String USER_FROM) {
            this.USER_FROM = USER_FROM;
        }

        @Override
        public String toString() {
            return "User{" + "USER_CODE='" + USER_CODE + '\'' + ", USER_NAME='" + USER_NAME + '\'' + ", USER_PINYIN='" + USER_PINYIN + '\'' + ", DEPT_NAME='" + DEPT_NAME + '\'' + ", ORG_NAME='" + ORG_NAME + '\'' + ", OTH_ACCT_ID='" + OTH_ACCT_ID + '\'' + ", ORG_NO='" + ORG_NO + '\'' + ", OTH_ACCT_NAME='" + OTH_ACCT_NAME + '\'' + ", USER_ID='" + USER_ID + '\'' + ", OTH_ACCT_NO='" + OTH_ACCT_NO + '\'' + ", DEPT_NO='" + DEPT_NO + '\'' + ", USER_FROM='" + USER_FROM + '\'' + '}';
        }
    }

    public static class UserBusiCodesBean implements Serializable {
        /**
         * systemId : EOM
         * userAppCode : LGH
         * userBusiCode : g
         * checkCode : jYuYm7mXXqv79D+jm9L63g==
         */

        private String systemId;
        private String userAppCode;
        private String userBusiCode;
        private String checkCode;

        public String getSystemId() {
            return systemId;
        }

        public void setSystemId(String systemId) {
            this.systemId = systemId;
        }

        public String getUserAppCode() {
            return userAppCode;
        }

        public void setUserAppCode(String userAppCode) {
            this.userAppCode = userAppCode;
        }

        public String getUserBusiCode() {
            return userBusiCode;
        }

        public void setUserBusiCode(String userBusiCode) {
            this.userBusiCode = userBusiCode;
        }

        public String getCheckCode() {
            return checkCode;
        }

        public void setCheckCode(String checkCode) {
            this.checkCode = checkCode;
        }
    }

    public List<User> getUSERS() {
        return USERS;
    }

    public void setUSERS(List<User> USERS) {
        this.USERS = USERS;
    }

    public List<UserBusiCodesBean> getUserBusiCodes() {
        return userBusiCodes;
    }

    public void setUserBusiCodes(List<UserBusiCodesBean> userBusiCodes) {
        this.userBusiCodes = userBusiCodes;
    }

    @Override
    public String toString() {
        return "UserInfo{" + "USERS=" + USERS + '}';
    }


}
